* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
}
button {
  outline: none;
}
input {
  outline: none;
}
.portrait {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.secondary-text {
  font-size: 15px;
  color: #6b7795;
}
body {
  background-color: #f2f3f5;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #3491fa;
}
body header {
  display: flex;
  height: 70px;
  justify-content: space-between;
  background-color: #3491fa;
  padding: 5px;
}
body header .left {
  display: flex;
}
body header .left .message {
  margin-left: 10px;
}
body header .left .message .slogan {
  width: 220px;
  height: 28px;
  line-height: 28px;
  font-size: 14px;
  margin-top: 5px;
  white-space: nowrap;
  /*强制在一行显示*/
  text-overflow: ellipsis;
  /*设置超出内容显示...*/
  overflow: hidden;
  /*一定不能少 超出的内容进行隐藏*/
}
body header .right {
  line-height: 60px;
  margin-right: 10px;
}
body .content-box {
  flex: 1;
  display: flex;
}
body .content-box aside {
  min-width: 70px;
  width: 70px;
}
body .content-box aside .choice-btn {
  width: 100%;
  height: 60px;
  border-radius: 20%;
  border: 1px transparent;
  margin: 1px 0;
  background-color: #3491fa;
}
body .content-box aside .choice-btn:hover {
  background-color: rgba(17, 75, 163, 0.5);
  cursor: pointer;
}
body .content-box aside .active {
  background-color: rgba(17, 75, 163, 0.5);
}
body .content-box main {
  display: flex;
  width: 100%;
  height: calc(100vh - 70px);
  min-width: 1200px;
  background-color: #fff;
  border-radius: 10px 0 0 0;
}
body .content-box main .chat-list {
  height: calc(100vh - 70px);
  width: 300px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-right: 1px solid #e5e6eb;
}
body .content-box main .chat-list .search {
  margin: 2px;
  text-align: center;
}
body .content-box main .chat-list .search input {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 5px;
  font-size: 18px;
  border-radius: 10px;
  border: 1.5px solid black;
  background-color: rbg(103, 115, 138);
}
body .content-box main .chat-list .list {
  flex: 1;
  height: calc(100vh - 70px - 40px);
  overflow: hidden;
  /*定义滑块，内阴影及圆角*/
}
body .content-box main .chat-list .list ul {
  overflow: auto;
  height: 100%;
  padding: 5px;
}
body .content-box main .chat-list .list ul li {
  display: flex;
  height: 80px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
}
body .content-box main .chat-list .list ul li .chat-object {
  flex: 1;
  height: 60px;
  margin-left: 10px;
}
body .content-box main .chat-list .list ul li .chat-object .chat-header {
  display: flex;
  justify-content: space-between;
}
body .content-box main .chat-list .list ul li .chat-object .chat-header .name {
  margin-bottom: 8px;
}
body .content-box main .chat-list .list ul li:hover {
  background-color: #e5e6eb;
}
body .content-box main .chat-list .list ul .list-active {
  background-color: #e5e6eb;
}
body .content-box main .chat-list .list ul::-webkit-scrollbar {
  width: 5px;
}
body .content-box main .chat-list .list ul::-webkit-scrollbar-thumb {
  /*width: 10px;*/
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #e5e6eb;
}
body .content-box main .chat-page {
  display: flex;
  flex: 2.5;
  background-color: #f7f8fa;
  flex-direction: column;
}
body .content-box main .chat-page .object-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  border-bottom: 3px solid #c9cdd4;
}
body .content-box main .chat-page .object-info .info {
  display: flex;
  margin-left: 10px;
  flex-direction: row;
  align-items: center;
}
body .content-box main .chat-page .object-info .info .name {
  margin-left: 10px;
}
body .content-box main .chat-page .object-info .tool {
  margin-right: 20px;
  display: flex;
  align-items: center;
}
body .content-box main .chat-page .object-info .tool .icon {
  margin-right: 3px;
}
body .content-box main .chat-page .chat {
  flex: 5;
}
body .content-box main .chat-page .send {
  flex: 2;
  position: relative;
  border-top: 3px solid #c9cdd4;
}
body .content-box main .chat-page .send .content {
  width: 100%;
  height: 140px;
  background-color: #f7f8fa;
  font-size: 20px;
  outline: none;
  border: none;
}
body .content-box main .chat-page .send .go {
  position: absolute;
  right: 20px;
  bottom: 10px;
  width: 60px;
  height: 35px;
  line-height: 35px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #fff;
  background-color: #3491fa;
}
body .content-box main .chat-page .send .go:hover {
  opacity: 0.7;
  cursor: pointer;
}
body .content-box main .chat-page .send .go:active {
  opacity: 1;
}
